package xj.controller.front;

import java.util.ArrayList;
import java.util.List;

import com.jfinal.core.Controller;

public class FIndexController extends Controller {

	public void index () {
		
		List<String> listTest = new ArrayList<>();
		listTest.add("test1");
		listTest.add("test2");
		listTest.add("test3");
		listTest.add("test4");
		listTest.add("test5");
		
		set("listTest", listTest);
		
		render("index.html");
	}
	
	public void test1() {
		
		render("test1.html");
	}
	
	public void test2() {
		
		render("test2.html");
	}
}
